import request from './request'
/**
 * 请求首页轮播图数据
 */
export function getBannerlist () {
  return request({
    url: '/banner',
    method: 'get'
  })
}
export function getprolist (params) {
  // limit和count的默认值 -- 依据接口文档设置
  const data = params || { limit: 10, count: 0 }
  return request({
    url: '/pro',
    method: 'get',
    params: data
  })
}
